// 定义一个接口泛型， 用于限制person对象的具体属性
export interface PersonInter {
    id: string,
    name: string,
    age: number
}

/* 
默认暴露：export default value
分别暴露：export const/function
统一暴露：export {name1, name2}
*/

export type Persons = Array<PersonInter>
//or 
// export type Persons = PersonInter[]